<?php

use Illuminate\Routing\Router;


Route::group([
    'prefix' => 'admin/TodayNiceGoods/',
    'namespace'     => 'Beerus\\Modules\\TodayNiceGoods\\Controllers',
    'middleware'    => ['web', 'admin'],
], function (Router $router) {
    $router->get('/index','IndexController@index');//列表
    $router->get('index/create','IndexController@create');//新增
    $router->get('index/{id}/edit','IndexController@edit');//修改
    $router->post('save','IndexController@save');//保存
    $router->post('audit','IndexController@audit');//审核
    $router->post('sort','IndexController@sort');//排序
    $router->get('sortlists','IndexController@sortLists');//排序列表
    $router->get('whiteusers','IndexController@whiteUsers');//白名单
    $router->post('whitesave','IndexController@whiteSave');//白名单保存
});